MusicClass = ApplicationDomain.currentDomain.getDefinition(musicClassName) as Class;
}
catch(err:ReferenceError)
{
err.message = "Music \'" + musicClassName + "\' does not exist in library. Please check that the \'musicClassName\' variable is correct in Configuration layer.";